banji = []
for i in range(5):
    n = int(input(f"请输入第{i+1}个班级的人数："))
    banji.append(n)
p = sum(banji)
print(f"所有班级总人数是：{p}")